package com.youlai.boot.modules.area.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.boot.modules.area.model.Area;
import com.youlai.boot.modules.area.model.AreaPageQuery;
import com.youlai.boot.modules.area.model.AreaVO;
import com.youlai.boot.modules.area.model.AreaForm;

public interface AreaService extends IService<Area> {
    IPage<AreaVO> getAreaPage(AreaPageQuery queryParams);

    AreaForm getAreaForm(Long areaId);

    Long saveArea(AreaForm form);

    void updateArea(AreaForm form);

    boolean deleteArea(Long areaId);
}
